home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 November / macformat-018.iso / Utility Spectacular / Developer / Marlais 0.3.1 / gc4.1-mac / NT_MAKEFILE < prev    next >
Encoding:
Text File  |  1994-07-26  |  1.7 KB  |  37 lines  |  [TEXT/R*ch]

  1. # Makefile for Windows NT.  Assumes Microsoft compiler, and a single thread.
  2. # DLLs are included in the root set under NT, but not under win32S.
  3. # Use "nmake nodebug=1 all" for optimized versions of library, gctest and editor.
  4.  
  5. !include <ntwin32.mak>
  6.  
  7. # We also haven't figured out how to do partial links or build static libraries.  Hence a
  8. # client currently needs to link against all of the following:
  9.  
  10. OBJS= alloc.obj reclaim.obj allchblk.obj misc.obj mach_dep.obj os_dep.obj mark_rts.obj headers.obj mark.obj obj_map.obj blacklst.obj finalize.obj new_hblk.obj dbg_mlc.obj malloc.obj stubborn.obj dyn_load.obj typd_mlc.obj
  11.  
  12. all: gctest.exe cord\de.exe
  13.  
  14. .c.obj:
  15.     $(cc) $(cdebug) $(cflags) $(cvars) -DSMALL_CONFIG -DSILENT -DALL_INTERIOR_POINTERS $*.c /Fo$*.obj
  16.  
  17. $(OBJS) test.obj: gc_priv.h gc_hdrs.h gc.h
  18.  
  19. gc.lib: $(OBJS)
  20.     lib32 /MACHINE:i386 /out:gc.lib $(OBJS)
  21.  
  22. gctest.exe: test.obj gc.lib
  23. #    The following works for win32 debugging.  For win32s debugging use debugtype:coff
  24. #    and add mapsympe line.
  25.     $(link) -debug:full -debugtype:cv $(guiflags) -stack:131072 -out:$*.exe test.obj $(conlibs) gc.lib
  26. #    mapsympe -n -o gctest.sym gctest.exe
  27.  
  28. cord\de_win.rbj: cord\de_win.res
  29.     cvtres -$(CPU) cord\de_win.res -o cord\de_win.rbj
  30.  
  31. cord\de.obj cord\de_win.obj: cord\cord.h cord\cord_pos.h cord\de_win.h cord\de_cmds.h
  32.  
  33. cord\de_win.res: cord\de_win.rc cord\de_win.h cord\de_cmds.h
  34.     $(rc) $(rcvars) -r -fo cord\de_win.res $(cvars) cord\de_win.rc
  35.  
  36. cord\de.exe: cord\cordbscs.obj cord\cordxtra.obj cord\de.obj cord\de_win.obj cord\de_win.rbj gc.lib
  37.     $(link) -debug:full -debugtype:cv $(guiflags) -stack:16384 -out:cord\de.exe  cord\cordbscs.obj cord\cordxtra.obj cord\de.obj cord\de_win.obj cord\de_win.rbj gc.lib $(guilibs)